home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / sun / management / HotspotCompilation$CompilerThreadInfo.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  1.8 KB  |  41 lines

  1. package sun.management;
  2.  
  3. import sun.management.counter.LongCounter;
  4. import sun.management.counter.StringCounter;
  5.  
  6. class HotspotCompilation$CompilerThreadInfo {
  7.    int index;
  8.    String name;
  9.    StringCounter method;
  10.    LongCounter type;
  11.    LongCounter compiles;
  12.    LongCounter time;
  13.    // $FF: synthetic field
  14.    final HotspotCompilation this$0;
  15.  
  16.    HotspotCompilation$CompilerThreadInfo(HotspotCompilation var1, String var2, int var3) {
  17.       this.this$0 = var1;
  18.       String var4 = var2 + "." + var3 + ".";
  19.       this.name = var2 + "-" + var3;
  20.       this.method = (StringCounter)HotspotCompilation.access$000(var1, var4 + "method");
  21.       this.type = (LongCounter)HotspotCompilation.access$000(var1, var4 + "type");
  22.       this.compiles = (LongCounter)HotspotCompilation.access$000(var1, var4 + "compiles");
  23.       this.time = (LongCounter)HotspotCompilation.access$000(var1, var4 + "time");
  24.    }
  25.  
  26.    HotspotCompilation$CompilerThreadInfo(HotspotCompilation var1, String var2) {
  27.       this.this$0 = var1;
  28.       String var3 = var2 + ".";
  29.       this.name = var2;
  30.       this.method = (StringCounter)HotspotCompilation.access$000(var1, var3 + "method");
  31.       this.type = (LongCounter)HotspotCompilation.access$000(var1, var3 + "type");
  32.       this.compiles = (LongCounter)HotspotCompilation.access$000(var1, var3 + "compiles");
  33.       this.time = (LongCounter)HotspotCompilation.access$000(var1, var3 + "time");
  34.    }
  35.  
  36.    CompilerThreadStat getCompilerThreadStat() {
  37.       MethodInfo var1 = new MethodInfo(this.method.stringValue(), (long)((int)this.type.longValue()), -1);
  38.       return new CompilerThreadStat(this.name, this.compiles.longValue(), this.time.longValue(), var1);
  39.    }
  40. }
  41.